

import axios from "@/utils/request";


export const doFinishRegisterAPI = (data:RegParamsRaw,option={}) => axios.post("/user/dofinishregister",data,{ ...option})
export const doCheckPhoneAPI = (data={},option={}) => axios.post("/user/docheckphone",data,{ ...option})
export const doSendMsgCodeAPI = (data = {},option={}) => axios.post("/user/dosendmsgcode",data,{ ...option})
export const doCheckCodeAPI = (data = {},option={}) => axios.post("/user/docheckcode",data,{ ...option})
export const doLoginAPI = (data:LoginParamsRaw,option={}) => axios.post("/user/login",data,{ ...option})

// export const getAdminListAPI = (data={},option={}) => axios.get("/admin/list",{   
//     params:data,  // get传参 params:{}
//     ...option
// })